package com.ruoyi.merchant.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 核销记录（存储核销的详细信息）对象 verification_record
 * 
 * @author wjq
 * @date 2025-09-17
 */
public class VerificationRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id编号（自增，无符号整数，避免负数） */
    private String id;

    /** 店铺id（关联店铺表的id） */
    @Excel(name = "店铺id", readConverterExp = "关=联店铺表的id")
    private String mid;

    /** 订单id（关联订单表的id） */
    @Excel(name = "订单id", readConverterExp = "关=联订单表的id")
    private String oid;

    /** 服务项目名（非空） */
    @Excel(name = "服务项目名", readConverterExp = "非=空")
    private String vName;

    /** 下单用户（非空） */
    @Excel(name = "下单用户", readConverterExp = "非=空")
    private String vUsername;

    /** 实付金额（精确到分，如100.00） */
    @Excel(name = "实付金额", readConverterExp = "精=确到分，如100.00")
    private BigDecimal vPrice;

    /** 核销时间（非空，记录核销的时间） */
    @Excel(name = "核销时间", readConverterExp = "非=空，记录核销的时间")
    private Date vTime;

    /** 删除状态（0-未删除，1-已删除，逻辑删除标识） */
    private Long deleted;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setMid(String mid) 
    {
        this.mid = mid;
    }

    public String getMid() 
    {
        return mid;
    }

    public void setOid(String oid) 
    {
        this.oid = oid;
    }

    public String getOid() 
    {
        return oid;
    }

    public void setvName(String vName) 
    {
        this.vName = vName;
    }

    public String getvName() 
    {
        return vName;
    }

    public void setvUsername(String vUsername) 
    {
        this.vUsername = vUsername;
    }

    public String getvUsername() 
    {
        return vUsername;
    }

    public void setvPrice(BigDecimal vPrice) 
    {
        this.vPrice = vPrice;
    }

    public BigDecimal getvPrice() 
    {
        return vPrice;
    }

    public void setvTime(Date vTime) 
    {
        this.vTime = vTime;
    }

    public Date getvTime() 
    {
        return vTime;
    }

    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mid", getMid())
            .append("oid", getOid())
            .append("vName", getvName())
            .append("vUsername", getvUsername())
            .append("vPrice", getvPrice())
            .append("vTime", getvTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
